﻿using System;

namespace openxml.butter.definition
{
	/// <summary>
	/// Association entre DataItem et Un control d'un Document
	/// </summary>
	public class DataControlAssociation
	{
		public String ControlId { get;set;}
		public DataItem DataItem { get; set;}
		public DocumentTemplate DocumentTemplate { get; set ;} 
		
		
		public DataControlAssociation()
		{
			
		}
		
		public DataControlAssociation( DocumentTemplate doc , String controlId , DataItem item )
		{
			this.ControlId = controlId ;
			this.DocumentTemplate = doc ;
			this.DataItem = item ;
		}
	}
}
